package com.webchat.chat.service;
import com.corundumstudio.socketio.SocketIOClient;
import com.webchat.chat.core.dto.customerDto.UserDto;
import com.webchat.chat.model.SocketClient;
import com.webchat.chat.core.Service;

import java.util.List;


/**
 * Created by admin on 2018-06-29.
 */
public interface SocketClientService extends Service<SocketClient> {

    SocketClient findSocketClientByClientId(String clientId);

    SocketClient findSocketClientByUserId(String userId);

    List<SocketClient> findByRoomId(String roomId);

    SocketIOClient getSocketIOClientByUserId(String userId);


    List<UserDto> findCustomer(String tenantCode);

    void changeCustomerAuditStatus(String[] userIds, Boolean flag);
}
